﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User/User.Master" AutoEventWireup="true"
    CodeBehind="ZL_CP_Edit.aspx.cs" Inherits="CoolERP_Web.User.ZL_CP_Edit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td class="tbHead_L"></td>
        <td class="tbHead_M"><div><b><asp:Literal ID="liTitle" runat="server">新增</asp:Literal>产品</b></div></td>
        <td class="tbHead_R"></td>
    </tr>
    <tr>
        <td class="tbBody_L"></td>
        <td class="tbBody_M">
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <table border="0" width="100%">
                        <tr>
                            <td>产品线：</td>
                            <td><asp:DropDownList ID="ddlCPXBH" runat="server" CssClass="dropdown" Width="154px"
                                    AutoPostBack="True" OnSelectedIndexChanged="ddlCPXBH_SelectedIndexChanged">
                                    <asp:ListItem Value="0">请选择</asp:ListItem>
                                </asp:DropDownList>
                                &nbsp;* <asp:Literal ID="Literal1" runat="server" /></td>
                        </tr>
                        <tr>
                            <td>产品类型：</td>
                            <td><asp:DropDownList ID="ddlCPLXBH" runat="server" CssClass="dropdown" Width="154px"
                                    OnSelectedIndexChanged="ddlCPLXBH_SelectedIndexChanged"/>
                                &nbsp;* <asp:Literal ID="Literal2" runat="server" /></td>
                        </tr>
                        <tr>
                            <td>产品系列：</td>
                            <td><asp:DropDownList ID="ddlCPXLBH" runat="server" CssClass="dropdown" Width="154px"
                                    OnSelectedIndexChanged="ddlCPXLBH_SelectedIndexChanged">
                                    <asp:ListItem Value="0">请选择</asp:ListItem>
                                </asp:DropDownList>
                                &nbsp;* <asp:Literal ID="Literal3" runat="server" /></td>
                        </tr>
                        <tr>
                            <td>产品核心词：</td>
                            <td><asp:DropDownList ID="ddlCPMCBH" runat="server" CssClass="dropdown" Width="154px"
                                    AutoPostBack="True" OnSelectedIndexChanged="ddlCPMCBH_SelectedIndexChanged">
                                    <asp:ListItem Value="0">请选择</asp:ListItem>
                                </asp:DropDownList>
                                &nbsp;* <asp:Literal ID="Literal4" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>产品名称：</td>
                            <td><asp:TextBox ID="ddlCPMC" runat="server"></asp:TextBox>&nbsp;*</td>
                        </tr>
                        <tr>
                            <td>产品规格：</td>
                            <td><asp:TextBox ID="tbCPGG" runat="server" CssClass="textbox" MaxLength="64" Width="147px"></asp:TextBox> *
                            </td>
                        </tr>
                        <tr>
                            <td>产品型号：</td>
                            <td><asp:DropDownList ID="ddlCPXHBH" runat="server" CssClass="dropdown" Width="154px"
                                    OnSelectedIndexChanged="ddlCPXHBH_SelectedIndexChanged">
                                    <asp:ListItem Value="0">请选择</asp:ListItem>
                                </asp:DropDownList>
                                &nbsp;* <asp:Literal ID="Literal5" runat="server" /></td>
                        </tr>
                        <tr>
                            <td>产品单位：</td>
                            <td><asp:DropDownList ID="ddlCPDWBH" runat="server" CssClass="dropdown" Width="154px"></asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td>产品主色类型：</td>
                            <td><asp:DropDownList ID="ddlCPZYSLXBH" runat="server" CssClass="dropdown" Width="154px"
                                    AutoPostBack="True" OnSelectedIndexChanged="ddlCPZYSLXBH_SelectedIndexChanged">
                                </asp:DropDownList>
                                &nbsp;* <asp:Literal ID="Literal6" runat="server" /></td>
                        </tr>
                        <tr>
                            <td>产品主色：</td>
                            <td><asp:DropDownList ID="ddlCPZYSBH" runat="server" CssClass="dropdown" Width="154px"
                                    OnSelectedIndexChanged="ddlCPZYSBH_SelectedIndexChanged" AutoPostBack="true">
                                </asp:DropDownList>
                                &nbsp;* <asp:Literal ID="Literal7" runat="server" /></td>
                        </tr>
                        <tr>
                            <td>产品配色类型：</td>
                            <td><asp:DropDownList ID="ddlCPPYSLXBH" runat="server" CssClass="dropdown" Width="154px"
                                    AutoPostBack="True" OnSelectedIndexChanged="ddlCPPYSLXBH_SelectedIndexChanged">
                                <asp:ListItem Value="">请选择</asp:ListItem>
                                </asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td>产品配色：</td>
                            <td><asp:DropDownList ID="ddlCPPYSBH" runat="server" CssClass="dropdown" Width="154px">
                            <asp:ListItem Value="">请选择</asp:ListItem></asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td>产品特性：</td>
                            <td><asp:RadioButtonList ID="rbCPTX" runat="server" RepeatDirection="Horizontal"
                                    RepeatLayout="Flow" OnSelectedIndexChanged="rbCPTX_SelectedIndexChanged">
                                </asp:RadioButtonList>
                                &nbsp;* <asp:Literal ID="Literal8" runat="server" /></td>
                        </tr>
                        <tr>
                            <td>编号：</td>
                            <td><asp:TextBox ID="tbBH" runat="server" CssClass="textbox" MaxLength="16" ReadOnly="True"></asp:TextBox>
                                <asp:Button ID="btnCreate" CssClass="btn_s" runat="server" Text="生成编号" OnClick="btnCreate_Click" CausesValidation="False" />
                                &nbsp;* 
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbBH"
                                    ErrorMessage="RequiredFieldValidator" ForeColor="Red">请生成编号</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>产品价格：</td>
                            <td>成本价：<asp:TextBox ID="tbCPCBJ" runat="server" Width="48px" onchange="txtLimit(this,1)"></asp:TextBox>
                                &nbsp;*&nbsp;&nbsp;&nbsp;&nbsp; 批发价：<asp:TextBox ID="tbCPPFJ"
                                    runat="server" Width="48px" onchange="txtLimit(this,1)"></asp:TextBox>
                                &nbsp;&nbsp;&nbsp;&nbsp; 零售价：<asp:TextBox ID="tbCPLSJ" runat="server" Width="48px" onchange="txtLimit(this,1)"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>图片：</td>
                            <td><input id="File1" type="file" /></td>
                        </tr>
                        <tr>
                            <td>备注：</td>
                            <td><asp:TextBox ID="tbBZ" runat="server" CssClass="textbox" MaxLength="256" Height="35px" TextMode="MultiLine" Width="220px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td><asp:Label ID="lbResult" runat="server" ForeColor="Red"></asp:Label></td>
                        </tr>
                        <caption>
                            <tr>
                                <td colspan="4"><hr style="color: #D4F0B0;" /></td>
                            </tr>
                            <tr>
                                <td></td>
                                <td><asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/Images/Common/btn_save0.png" OnClick="btnSave_Click" />
                                    &nbsp;&nbsp;
                                    <asp:ImageButton ID="btnReturn" runat="server" CausesValidation="False" ImageUrl="~/Images/Common/btn_back0.png"
                                        PostBackUrl="~/User/ZL_CP_Query.aspx" />
                                </td>
                            </tr>
                        </caption>
                    </table>
                </ContentTemplate>
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="ddlCPXBH" EventName="SelectedIndexChanged" />
                    <asp:AsyncPostBackTrigger ControlID="ddlCPLXBH" EventName="SelectedIndexChanged" />
                    <asp:AsyncPostBackTrigger ControlID="ddlCPXLBH" EventName="SelectedIndexChanged" />
                    <asp:AsyncPostBackTrigger ControlID="ddlCPMCBH" EventName="SelectedIndexChanged" />
                    <asp:AsyncPostBackTrigger ControlID="ddlCPXHBH" EventName="SelectedIndexChanged" />
                    <asp:AsyncPostBackTrigger ControlID="ddlCPDWBH" EventName="SelectedIndexChanged" />
                    <asp:AsyncPostBackTrigger ControlID="ddlCPZYSLXBH" EventName="SelectedIndexChanged" />
                    <asp:AsyncPostBackTrigger ControlID="ddlCPZYSBH" EventName="SelectedIndexChanged" />
                    <asp:AsyncPostBackTrigger ControlID="ddlCPPYSLXBH" EventName="SelectedIndexChanged" />
                    <asp:AsyncPostBackTrigger ControlID="ddlCPPYSBH" EventName="SelectedIndexChanged" />
                </Triggers>
            </asp:UpdatePanel>
        </td>
        <td class="tbBody_R">
        </td>
    </tr>
    <tr>
        <td class="tbFoot_L"></td>
        <td class="tbFoot_M"></td>
        <td class="tbFoot_R"></td>
    </tr>
</table>
<asp:HiddenField ID="hdId" runat="server" />
<asp:HiddenField ID="hdBh" runat="server" />
</asp:Content>
